package com.zzy.furns.service;

import com.zzy.furns.domain.Furn;
import com.zzy.furns.domain.Page;

import java.util.List;

public interface FurnService {
    List<Furn> queryFurns();

    Boolean add(Furn furn);

    Boolean deleteFurnById(Integer id);

    Furn queryFurnById(Integer id);

    Boolean updateFurn(Furn furn);

    Page<Furn> page(Integer pageNo, Integer pageSize);

    Page<Furn> pageByName(String name,Integer pageNo, Integer pageSize);
}
